using Newtonsoft.Json;

namespace BingleMaps.Models.GoogleMaps
{
	public class Location : NotifyPropertyChanged
	{
		[JsonProperty("lat")]
		public double Lat { get; set; }
		[JsonProperty("lng")]
		public double Lng { get; set; }

		const string Delimiter = ",";
		public override string ToString()
		{
			return Lat + Delimiter + Lng;
		}
	}
}